package com.turbo.cloud.gateway.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 网关配置
 * @author zhangluning
 */
@Data
@RefreshScope
@Component
@ConfigurationProperties(prefix = "auth", ignoreInvalidFields = true)
public class AuthProperties {

    private ApiAuth apiAuth;
    private InterfaceAuth interfaceAuth;
}
